<template>
  <div class="department-container">
    <div class="app-container">
      <el-card>
        <!-- 具体页面结构 -->
        工资管理
        <button @click="hAdd">跳转到abc</button>
      </el-card>
    </div>
  </div>
</template>
<script>
export default {
  methods: {
    hAdd() {
      this.$router.addRoutes([
        {
          path: "/abc",
          component: () => import("@/views/abc.vue"),
        },
      ]);
    },
  },
};
</script>
